package com.xiaoliang.servlet.cart;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author XIAOLIANG
 * @ClassName CarList.java
 * @Description TODO
 * @createTime 2021年02月26日 16:16:00
 */
//@WebServlet("/car/carList")
public class CarList extends HttpServlet {
	@Override
	protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
		System.out.println("进入购物车");
		resp.sendRedirect(req.getContextPath()+"/cart/cartList.jsp");
	}
}
